[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
    Procedure SetBounds(X1,Y1,X2,Y2:Word)

    This locks the mouse in an area  of  the  screen.   X1,Y1  and  X2,Y2
    specify the  top  left  and  bottom  right  corners  of  the  area.

    Remember to use

    Mouse.SetBounds(0,0,(VideoCard[WhereTo].XSize - 1) * MouseGranularity,
                        (VideoCard[WhereTo].YSize - 1) * MouseGranularity)

    to allow  the mouse  to  move  around the whole screen again.

This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson